
import request from '@/utils/request'


// 查询
export function searchVolunteerService(data) {
    console.log(data, "<<<=== 查询请求-传数据data");
    return request({
        url: "/pk-its/sp/volunteerservice/list",
        method: "get",
        params: data
    })

}

// 新增
export function addNewVolunteerService(data) {
    console.log(data, "<<<=== 新增请求-传数据data");
    return request({
        url: "/pk-its/sp/volunteerservice/save",
        method: "post",
        data
    })
}

// 编辑
export function editVolunteerService(data) {
    console.log(data, "<<<=== 编辑请求-传数据data");
    return request({
        url: "/pk-its/sp/volunteerservice/update",
        method: "post",
        data
    })
}